package com.like.entity;

import com.google.gson.annotations.SerializedName;

public class InfoListReq extends RequestBase {

    @SerializedName("TypeID")
    public int typeId;
    @SerializedName("StartIndex")
    public int startIndex;
    @SerializedName("PageNum")
    public int pageNum;

    public InfoListReq() {
    }

    public InfoListReq(int typeId, int page, int pageNum) {
        this.typeId = typeId;
        this.startIndex = page * pageNum;
        this.pageNum = pageNum;
    }
}
